package it.heima.axios1.service.serviceImpl;

import it.heima.axios1.mapper.LoginMapper;
import it.heima.axios1.pojo.User;
import it.heima.axios1.service.Login;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class loginImpl implements Login {
    @Autowired
    private LoginMapper loginMapper;

    @Override
    public User login(User user) {
        return loginMapper.login(user);
    }


}
